import request from '@/common/js/request.js';

// 获取产品列表
export const getProductList = (data) => {
	return request.post('/api/depot/products', data);
};

//获取产品分类
export const getProductType = (data) => {
	return request.post('/api/user/product_types', data);
};

//添加习惯和产品关联
export const addHabitProduct = (data) => {
	return request.post('/api/user/add_habit_product_rela', data);
};

//获取习惯和产品关联
export const getHabitProduct = (data) => {
	return request.post('/api/user/get_habit_product_rela', data);
};
